﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Mad.Nug.Rss
{
    public class RssItem
    {
        #region PublicProperties
        /// <summary>
        /// news Title
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// news Title
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// News Content
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        /// news Image
        /// </summary>
        public string Image { get; set; }

        /// <summary>
        /// News source url
        /// </summary>
        public Uri Url { get; set; }

        /// <summary>
        /// Comments Url
        /// </summary>
        public Uri CommentsUrl { get; set; }

        /// <summary>
        /// Publication date.
        /// </summary>
        public string Date { get; set; }

        /// <summary>
        /// Author name
        /// </summary>
        public string Author { get; set; }
        #endregion

        #region Constructor
        public RssItem()
        {
        }

        public RssItem(string title, string text, string image)
        {
            Title = title;
            Text = text;
            Image = image;
        }
        #endregion
    }
}
